Why couldn't the computer take its hat off?

Because the caps lock was on!